FROM elasticsearch:7.17.3
LABEL author="douxuefeng" 
LABEL email="i@douxuefeng.cn"
WORKDIR /usr/share/elasticsearch
COPY elasticsearch-analysis-ik-7.17.3.zip .
RUN unzip -d ./plugins/analysis-ik elasticsearch-analysis-ik-7.17.3.zip \
&& rm elasticsearch-analysis-ik-7.17.3.zip
EXPOSE 9200
EXPOSE 9300